package com.guigu.service;

import com.guigu.entity.PageResult;
import com.guigu.pojo.EvaluationSuggestions;

public interface EvaluationSuggestionsService {
    /**
     * 在EvaluationSuggestionsService服务接口中扩展分页查询方法
     * @param currentPage
     * @param pageSize
     * @param queryString
     * @return
     */
    public PageResult pageQuery(Integer currentPage, Integer pageSize, String queryString);

    /**
     * 根据id进行查询
     * @param id
     * @return
     */
    public EvaluationSuggestions findById(Integer id);

    /**
     * 添加数据
     * @param eval
     * @return
     */
    public boolean add(EvaluationSuggestions eval);

    /**
     * 根据EvaluationSuggestions修改数据
     * @param eval
     * @return
     */
    public boolean edit(EvaluationSuggestions eval);

    /**
     * 根据id删除数据
     * @param id
     * @return
     */
    public boolean delById(Integer id);

    /**
     * 根据id查询
     * @param id
     * @return
     */
    public EvaluationSuggestions selectById(Integer id);
}
